﻿import 'package:get/get.dart';
import 'sleep_page.dart';
import 'sleep_logic.dart';

/// 睡眠模块路由配置
class SleepRoutes {
  /// 睡眠主页
  static const String sleep = '/sleep';

  static final List<GetPage> routes = [
    GetPage(
      name: sleep,
      page: () => const SleepView(),
      binding: BindingsBuilder(() {
        Get.put(SleepLogic());
      }),
    ),
  ];
}
